import axios from './request'

export const getGoodsAPI = (query) => axios.get('/goods/good',{params: query})

export const getCateAPI = () => axios.get('/goods/good/cate')

export const addGoodAPI = (data) => axios.post('/goods/good',data)

export const getBrandListApi = () => axios.get('goods/brand')